import request from '@/utils/request'


export function addUser(data) {
  return request({
    url: '/exam/course/addUser',
    method: 'post',
    data
  })
}

export function getInfo(token) {
  return request({
    url: '/exam/course/info',
    method: 'get',
    params: { token }
  })
}


export function getList(params) {
  return request({
    url: '/exam/course/list',
    method: 'get',
    params
  })
}

export function deleteBatch(params) {
  return request({
    url: '/exam/course/delete',
    method: 'get',
    params
  })
}

